import java.awt.BorderLayout;
import java.awt.Dimension;

import javax.swing.JFrame;
import javax.swing.JTabbedPane;

public class MainFrame extends JFrame {

	public MainFrame() {
		super("State Farm Twitter Optimizer");

		setSize(852, 480);
		setMinimumSize(new Dimension(900, 480));
		setResizable(false);

		// setResizable(false);
		// set overall layout to border layout
		this.setLayout(new BorderLayout(50, 50));
		JTabbedPane tabbedPane = new JTabbedPane();
		//PiePanel piePanel = new PiePanel();
		DesignPanel designPanel = new DesignPanel();
		tabbedPane.addTab("Design", designPanel);
		//tabbedPane.addTab("Chart", piePanel);
		this.add(tabbedPane);

	}

	public static void main(String[] args) {
		MainFrame frame = new MainFrame();
		frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		frame.pack();
		frame.setVisible(true);

	}

}
